﻿@model GameSchoolApplication.Models.LogOnModel
@{Layout = null;}
<!DOCTYPE html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
</head>
<body>
    <div id="header">
        <a href="http://localhost:23973/">
            <img class="headerImg" src="../../content/themes/base/images/GS2.png" alt="Its a dinosaur eating a sign"
                align="left" /></a>
        <p class="header">
    </div>
    @Html.ValidationSummary(true, "")
    @using (Html.BeginForm())
    {
        <div>
            <h2>@ViewBag.Message</h2>
            <div id="field">
                <fieldset>
                    <legend>Notandaupplýsingar</legend>
                    <div class="editor-label">
                        @Html.LabelFor(m => m.UserName)
                    </div>
                    <div class="editor-field">
                        @Html.TextBoxFor(m => m.UserName)
                        @Html.ValidationMessageFor(m => m.UserName)
                    </div>
                    <div class="editor-label">
                        @Html.LabelFor(m => m.Password)
                    </div>
                    <div class="editor-field">
                        @Html.PasswordFor(m => m.Password)
                        @Html.ValidationMessageFor(m => m.Password)
                    </div>
                    <p>
                        <input type="submit" value="Innskrá" />
                    </p>
                    <p>
                        @Html.ActionLink("Tapað lykilorð?", "lostPassword", "Account")
                    </p>
                </fieldset>
            </div>
        </div>
    }
</body>
